<%@ Control Language="C#" AutoEventWireup="false"   Inherits="CVCommunity.Admin.Files" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%>

<form runat="server">
<asp:Panel ID="listfile" runat="server" Visible="false">
<div class="grid">
<div style="padding:5px; ">添加模板&nbsp;<asp:TextBox ID="newtemplatefile" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" />&nbsp;<asp:Button Text="  提 交  " CssClass="button" runat="server" OnClick="Submit" /></div></div>
<div class="grid">
<table cellspacing="0" class="inner" style="font-size:12px">
<tr class="forumno category" style="font-size:14px">
<td>编辑模板&nbsp;[&nbsp;<forum:Span id="current" runat="server" />&nbsp;]&nbsp;</td>
</tr>
<asp:Repeater ID="list" runat="server">
<itemtemplate>
<tr class="forumtd">
<td style="line-height:30px;">&nbsp;&nbsp;
<forum:anchor id="delete" Text=" <img src='images/icon/del.gif' alt='删除' /> " style="color:#F00;" runat="server" onclick="return confirm('此操作执行后不可恢复，是否确定要执行？');" />&nbsp;&nbsp;
<forum:anchor id="name" runat="server" /></td>
</tr>
</itemtemplate>
</asp:Repeater>
<tr class="forumtd">
<td style="line-height:30px;">　
<b>controls</b>
</td>
</tr>
<asp:Repeater ID="controllist" runat="server">
<itemtemplate>
<tr class="forumtd">
<td style="line-height:30px;">&nbsp;&nbsp;
<forum:anchor id="delete" Text=" <img src='images/icon/del.gif' alt='删除' /> " style="color:#F00;" runat="server" onclick="return confirm('此操作执行后不可恢复，是否确定要执行？');" />&nbsp;&nbsp;&nbsp;&nbsp;
<forum:anchor id="name" runat="server" /></td>
</tr>
</itemtemplate>
</asp:Repeater>
</table></div>
</asp:Panel>
<asp:Panel ID="edit" runat="server" Visible="false">
<div class="grid">
<table cellspacing="0" class="inner">
<tr class="forumno category">
<td><forum:Span id="filename" runat="server" />&nbsp;-模板内容</td>
</tr>
<tr class="forumtd">
<td align="center"><asp:TextBox ID="content" runat="server" TextMode="MultiLine" Width="98%" Height="400"/></td>
</tr>
<tr class="forumtd">
<td align="center"><asp:Button Text="  提 交  " CssClass="button" runat="server" OnClick="Save" />&nbsp;&nbsp;&nbsp;<asp:Button ID="back" CssClass="button" Text="  返 回  " runat="server" /></td>
</tr>
</table></div>
</asp:Panel>
</form>